package com.itcast.java.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 会员实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:27:34
 */
@Data
@TableName("ums_member")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UmsMemberEntity对象", description = "会员")
public class UmsMemberEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "会员等级id")
    @TableField("level_id")
        private Long levelId;

        @ApiModelProperty(value = "用户名")
    @TableField("username")
        private String username;

        @ApiModelProperty(value = "密码")
    @TableField("password")
        private String password;

        @ApiModelProperty(value = "昵称")
    @TableField("nickname")
        private String nickname;

        @ApiModelProperty(value = "手机号码")
    @TableField("mobile")
        private String mobile;

        @ApiModelProperty(value = "邮箱")
    @TableField("email")
        private String email;

        @ApiModelProperty(value = "头像")
    @TableField("header")
        private String header;

        @ApiModelProperty(value = "性别")
    @TableField("gender")
        private Integer gender;

        @ApiModelProperty(value = "生日")
    @TableField("birth")
        private Date birth;

        @ApiModelProperty(value = "所在城市")
    @TableField("city")
        private String city;

        @ApiModelProperty(value = "职业")
    @TableField("job")
        private String job;

        @ApiModelProperty(value = "个性签名")
    @TableField("sign")
        private String sign;

        @ApiModelProperty(value = "用户来源")
    @TableField("source_type")
        private Integer sourceType;

        @ApiModelProperty(value = "积分")
    @TableField("integration")
        private Integer integration;

        @ApiModelProperty(value = "成长值")
    @TableField("growth")
        private Integer growth;

        @ApiModelProperty(value = "启用状态")
    @TableField("status")
        private Integer status;

        @ApiModelProperty(value = "注册时间")
    @TableField("create_time")
        private Date createTime;

        }